<?php

/**
 * Movie-object
 *
 * @author Jiles
 */

class Movie {

    private $ranking;
    private $titel;
    private $score; 
    private $link;
    private $year;
    private $id;

    public function  __construct($ranking, $titel, $score, $link, $year) {
        $this->ranking = $ranking;
        $this->titel = $titel;
        $this->score = $score;
        $this->link = $link;
        $this->year = $year;
    }
    public function getID()
    {
        return $this->id;
    }

    public function setID($id)
    {
        $this->id = $id;
    }

    public function getRanking()
    {
        return $this->ranking;
    }

    public function getTitel()
    {
        return $this->titel;
    }
    public function getScore()
    {
        return $this->score;
    }
    public function getLink()
    {
        return $this->link;
    }
    public function getYear()
    {
        return $this->year;
    }

    public function getDOMElement(){
         return null;

    }
}
?>
